package com.haoxuer.imake.fields;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class FormBean implements Serializable{

    private String title;

    private String add;

    private String list;

    private String update;

    public String getAdd() {
        return add;
    }

    public void setAdd(String add) {
        this.add = add;
    }

    public String getList() {
        return list;
    }

    public void setList(String list) {
        this.list = list;
    }

    public String getUpdate() {
        return update;
    }

    public void setUpdate(String update) {
        this.update = update;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    private Boolean hasDate=false;

    private Boolean hasImage=false;

    private List<FieldBean> fields=new ArrayList<FieldBean>();


    private List<FieldBean> dates=new ArrayList<FieldBean>();


    private List<FieldBean> grids=new ArrayList<FieldBean>();


    private List<FieldBean> images=new ArrayList<FieldBean>();


    public Boolean getHasDate() {
        return hasDate;
    }

    public void setHasDate(Boolean hasDate) {
        this.hasDate = hasDate;
    }

    public List<FieldBean> getFields() {
        return fields;
    }

    public Boolean getHasImage() {
        return hasImage;
    }

    public void setHasImage(Boolean hasImage) {
        this.hasImage = hasImage;
    }

    public void setFields(List<FieldBean> fields) {
        this.fields = fields;
    }

    public List<FieldBean> getDates() {
        return dates;
    }

    public void setDates(List<FieldBean> dates) {
        this.dates = dates;
    }

    public List<FieldBean> getImages() {
        return images;
    }

    public void setImages(List<FieldBean> images) {
        this.images = images;
    }

    public List<FieldBean> getGrids() {
        return grids;
    }

    public void setGrids(List<FieldBean> grids) {
        this.grids = grids;
    }

    @Override
    public String toString() {
        return "FormBean{" +
                "hasDate=" + hasDate +
                ", hasImage=" + hasImage +
                ", fields=\n" + fields +
                '}';
    }
}
